package com.zhixiang.wbl.visitor.model;

import com.zhixiang.wbl.visitor.Constant.Constant;
import com.zhixiang.wbl.visitor.bean.BaseBean;

/**
 * Created by dongzhixiang on 16/5/17.
 */
public class Banner extends BaseBean
{
    private String createAt;
    private int banner_id;
    private String imageurl;
    private String title;
    private String updateAt;

    public void setCreateAt(String createAt){
        this.createAt = createAt;
    }
    public String getCreateAt(){
        return this.createAt;
    }
    public void setBanner_id(String banner_id)
    {

        this.banner_id = Integer.parseInt(banner_id);
    }
    public int getBanner_id(){
        return this.banner_id;
    }
    public void setImageurl(String imageurl){
        this.imageurl = imageurl;
    }
    public String getImageurl(){
        return Constant.BANNER_URL_PRE+this.imageurl;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getTitle(){
        return this.title;
    }
    public void setUpdateAt(String updateAt){
        this.updateAt = updateAt;
    }
    public String getUpdateAt(){
        return this.updateAt;
    }

    @Override
    public String toString() {
        return "Banner{" +
                "createAt='" + createAt + '\'' +
                ", banner_id=" + banner_id +
                ", imageurl='" + imageurl + '\'' +
                ", title='" + title + '\'' +
                ", updateAt='" + updateAt + '\'' +
                '}';
    }
}
